package com.bsoft.gol.hcs.clinical.dao;

import ctd.persistence.annotation.DAOMethod;
import ctd.persistence.annotation.DAOParam;
import ctd.persistence.support.hibernate.HibernateSupportDelegateDAO;
import pcn.prescribe.OdsPrescriptionApply;

import java.util.List;

public abstract class OdsPrescriptionApplyDAO extends HibernateSupportDelegateDAO<OdsPrescriptionApply> {


    @DAOMethod(sql = " from OdsPrescriptionApply where consultId =:consultId and  consultType =:consultType ")
    public abstract List<OdsPrescriptionApply> queryOdsPrescriptionApply(@DAOParam("consultId") String consultId, @DAOParam("consultType") String consultType);


}
